//2009/07/27 16:15:18
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

class LeaguePicks
{
public:
    vector <int> returnPicks(int position, int friends, int picks)
    {
		vector<int> p;
		p.clear();
		int pos = position;
		bool flag = true; 			//Take the direction;
		while(pos <= picks)
		{
			p.push_back(pos);
			if(flag)
			{
				pos += 2 * (friends - position) + 1;
				flag = false;
			}
			else
			{
				pos += 2*position-1;
				flag = true;
			}
		}
		return p;
    }
};
